package com.itheima.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.RequestParam;

import java.time.LocalDate;

/**
 * @author ljc
 * @version V1.0
 * @date 2025-02-18 22:15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClazzQueryPageDto {
   private String name;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
   private LocalDate begin;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate end;
    private int page;
    private int pageSize;
}
